//历史数据
import NetWork from '@/service/_request.js'
class meteoroHistoryApi {
  //查询24小时常规气象灾害信息
  async get_tb_cgqxzh_findByCon(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/Historical_disaster/history/tb-Cgqxzh24/post_tb-cgqxzh24_typeQuery',
      params
    )
  }
  //查询电线积冰灾害信息
  async get_tb_dxjbzh_findByCon(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/Historical_disaster/history/tb-Dxjbzh24/post_tb-tbDxjbzh24_typeQuery',
      params
    )
  }
  //查询环境气象灾害信息
  async get_tb_hjqxzh_findByCon(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/Historical_disaster/history/tb-Hjqxzh24/post_tb-tbHjqxzh24_typeQuery',
      params
    )
  }
  //国家站自动站
  async NationalStation(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/Historical_disaster/history/tb-Hjqxzh24/post_tb-tbHjqxzh24_typeQuery',
      params
    )
  }
  //站点列表
  async StationList(params) {
    return NetWork.get(
      '/itg/dlqxfw/rds/liveData/live/tb-Skzdzs-24Jx/findfindStation',
      params
    )
  }
  //点击站点
  async clickStiton(params) {
    return NetWork.get(
      '/itg/dlqxfw/rds/liveData/live/tb-Skzdzs-24Jx/findStationData',
      params
    )
  }
}
export default new meteoroHistoryApi()
